<?php

// 收款单
class operatorlog_payments {

    public function logDelInfoStart($params) {
        // ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓记录管理员操作日志@lujy↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
        $this->info = $params;
        // ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑记录管理员操作日志@lujy↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
    }
 // End Function
    public function logDelInfoEnd($delflag = false) {
        if ($delflag == true) {
            $payment_ids = implode($this->info['payment_id'], ',');
            $memo = '收款单号(' . $payment_ids . ')';
            kernel::single('operatorlog_logs')->inlogs($memo, '删除收款单', 'orders');
        }
    } // End Function
}//End Class
